//
//  MHHTTPService+Music.h
//  MiaoCircle
//
//  Created by 许正荣 on 2018/10/15.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHHTTPService.h"

@interface MHHTTPService (Music)
-(RACSignal *) getSongCategoryList;

/**
 音乐分页列表/搜索音乐

 @param songName 音乐名称，用于搜索
 @param categoryName 分类名称，用于搜索
 @param categoryId 分类id，0表示全部，大于0表示某个分类
 @param pageNum 页码
 @param pageSize 每页显示条数
 @return 音乐列表
 */
-(RACSignal *) getSongPagedListWithSongName:(NSString *)songName categoryName:(NSString *)categoryName categoryId:(int )categoryId pageNum:(int) pageNum pageSize:(int) pageSize;
-(RACSignal *) getHotSongList;

-(RACSignal *) publishRedPacketWithCircleId:(int )circleId content:(NSString *)content locationData:(NSString *) locationData redData:(NSString *) redData pay:(int )pay;

-(RACSignal *) bindShortVideoWithRecentId:(int )recentId  vedioData:(NSString *) vedioData;

-(RACSignal *) openRedPacketWithRedId:(int )redId;

-(RACSignal *) openRedPacketWithRedId:(int )redId  lat:(CGFloat ) lat lon:(CGFloat ) lon;

-(RACSignal *) getUserRedHistorySummary;

-(RACSignal *) getRedHistoryRecordPagedListWithType:(RedPacketHistoryType ) type pageNum:(int) pageNum pageSize:(int) pageSize;

-(RACSignal *) getRedEnvelopeConfig;

-(RACSignal *) getMyRecentPagedListWithPageNum:(int) pageNum pageSize:(int) pageSize;

-(RACSignal *) getVideoPagedListByMyRecentWithRecentId:(int) recentId  PageNum:(int) pageNum pageSize:(int) pageSize;

-(RACSignal *) getMyCollectRecentPagedListWithPageNum:(int) pageNum pageSize:(int) pageSize;

@end
